$(function ()
{
    findAll();
})

function findAll()
{
    let data = fontAjax('/top', {}, 'get');

    let html = '';
    let list = data.list;
    if (list != null)
    {
        for (let i = 0; i < list.length; i++)
        {
            html += '<a href="' + list[i].navHref + '">\n' +
                '                    <div>' + list[i].navName + '</div>\n' +
                '                </a>';
        }
    }
    $("#nav").html(html);
}